//
//  SDSimpleImageView.h
//  SKinDiary
//
//  Created by pcyang on 16/6/26.
//  Copyright © 2016年 tencent. All rights reserved.
//

#import <UIKit/UIKit.h>
@class SDSimpleImageView;
@protocol SDSimpleImageDelegate <NSObject>
- (void)simpleImageViewDidFinishLoading:(SDSimpleImageView*)imageView;
@end


@interface SDSimpleImageView : UIImageView
@property(nonatomic, weak) id<SDSimpleImageDelegate> delegate;
@property(nonatomic,strong) UIImage *defaultImage;
@property (nonatomic,strong) NSString* url;
-(void) setImageWithURL:(NSString *)url;
-(void) clearImage;
- (UIImage*)modifiedImageWithImage:(UIImage*)image;
- (NSString*)modifiedIndentifier;
@end

@interface SDAvatarView : SDSimpleImageView
@end

//@interface SDMosaicsView : SDSimpleImageView
//
//@end
